<%--
  Created by IntelliJ IDEA.
  User: sosmcc
  Date: 2021/9/3
  Time: 9:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>登录页面</h1>
    <form action="/login" method="post">
        账号: <input type="text" name="username"><br>
        密码: <input type="password" name="password"><br>
<%--        藏值--%>
        <security:csrfInput/>
        <input type="submit" value="登录"><br>
    </form>
<img src="/img/test1.jpg">
</body>
</html>
